package site.marqstree.latte.ec.main.sort.content;

import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;

import java.util.List;

/*
 * 项目名: EleCommerce
 * 包名: site.marqstree.latte.ec.main.sort.content
 * 文件名: RootNode
 * 创建者: marqstree
 * 创建时间: 2020/1/30 9:04
 * 描述: TODO
 */
public class RootNode extends BaseExpandNode{

    private List<BaseNode> childNode;
    private String title;
    private int id;

    public RootNode(List<BaseNode> childNode, int id, String title) {
        this.childNode = childNode;
        this.id = id;
        this.title = title;
    }

    @Override
    public List<BaseNode> getChildNode() {
        return childNode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
